<template>
  <div>
    <form>
        <input type="text" name="username" v-model="form.username">

        <input type="text" name="password" v-model="form.password">

        <button>提交</button>
    </form>
   </div>
</template>
 
<script>
export default {

  data() {
    return {
      // from是函数可以随便起名，返回值必须form.zxc,form.qwe
      msg: '杭州的第一场雪',

      form: {
        username: '',
        password: ''
      }
    }
},
  methods: {}
}
</script>

<style scoped>
     
</style>